#ifndef EVENTLISTENER_H_
#define EVENTLISTENER_H_

#include "util/events/Event.h"

class EventListener {
public:

	EventListener(EventType type) {
		this->type = type;
	}

	virtual ~EventListener() {
	}

	virtual void execute(Event* event) = 0;

	virtual EventType getEventType() {
		return this->type;
	}

private:

	EventType type;

};

#endif /* EVENTLISTENER_H_ */
